<?

  // msql settings
    $duser = "db28_hackathon";
    $dpswd = "hacker7";
    $dname = "db28_hackathon";

  if($dbc = mysql_connect($dhost, $duser, $dpswd)){
      // print '<p>Successfully connected to MySQL</p>';

         if(@mysql_select_db($dname)){

              //print '<p>The Database has been selected<p>';

         } else {

              die('<p>Could not select the database because: <strong>' . mysql_error() . '</strong></p>');

         }// end of datebase select

    
        // mysql_close();      //close database connection


  }else {

       print  '<p>Could not connect to MySQL</p>';


  } // end test MySQL connection


?>
